package com.dreamsail.core.controller;


import com.dreamsail.core.model.system.Result;
import com.dreamsail.core.service.TableService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("table")
public class TableController {

    @Resource
    TableService tableService;

    /**
     * 同步表结构到表信息中
     */
    @GetMapping("syndbtoinfo")
    public Result<Boolean> synTableInfo(){
        return new Result<>(true);
    }

}
